body {
    background-color: aliceblue;
    user-select: none;
}

.content .main {
    width: 83%;
    margin-right: 1.3%;
    height: auto;
    background: #fff;
    float: right;
    margin-top: 3px;
    max-height: 90vh;
    overflow: auto;
    border-radius: 5px;
    padding: 10px 10px 80px 20px;
    position: relative;
}

.main {
    background: white;
    padding: 24px;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.calendar-container {
    max-width: 1200px;
    margin: 0 auto;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
}

.week-header {
    padding: 12px 16px;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
}

.week-selector {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    cursor: pointer;
}

.week-title {
    margin-right: 4px;
}

.dropdown-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #666;
    transition: transform 0.2s;
}

.dropdown-arrow.active {
    transform: rotate(180deg);
}

.week-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 16px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 100;
}

.week-dropdown.show {
    display: block;
}

.week-option {
    padding: 8px 16px;
    cursor: pointer;
}

.week-option:hover {
    background-color: #f5f5f5;
}

.calendar-grid {
    display: grid;
    grid-template-columns: 120px repeat(7, 1fr);
}

.grid-header {
    padding: 12px;
    border: 1px solid #e0e0e0;
    text-align: center;
}

.grid-header.today {
    border-top: 2px solid #1a73e8;
}

.day-header {
    font-size: 14px;
}

.date {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

.time-slot {
    padding: 12px;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.shift-name {
    font-size: 14px;
    margin-bottom: 4px;
}

.time-range {
    font-size: 12px;
    color: #666;
}

.grid-cell {
    border: 1px solid #e0e0e0;
    min-height: 80px;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.grid-cell:empty:hover::after {
    content: '+';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    color: #666;
}

.cell-content {
    text-align: center;
}

.service-name {
    font-weight: bold;
    margin-bottom: 4px;
}

.employee-name {
    font-size: 12px;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 18px;
    font-weight: normal;
}

.close {
    cursor: pointer;
    font-size: 20px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
}

.form-group select, .form-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
}

.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.btn-cancel {
    background-color: #ff4d4f;
    color: white;
}

.btn-submit {
    background-color: #52c41a;
    color: white;
}